
import React, { Component } from 'react';
import style from "./index.module.scss";
import { SearchBar } from 'antd-mobile'
import {SetOutline} from "antd-mobile-icons"

export default class index extends Component {
  
  render() {
    return (
      <div className={style.searchBox}>
       <SearchBar icon={<SetOutline />} placeholder='请输入内容' showCancelButton={() => this.props.showcancel} />
      </div>
    )
  }
}
